package com.xuecheng.media.client;

import com.xuecheng.content.model.dto.MediaFilesDto;
import com.xuecheng.content.model.po.MediaFiles;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(name = "content-api" ,contextId="TeachplanMediaClient")
public interface TeachplanMediaClient {
    @PostMapping("/content/teachplan/updateMedia")
    public Boolean updateFileInfo(@RequestBody Map<String, MediaFilesDto> mediaFilesMap);
}
